import axios from "axios";

const baseurl="http://60.205.188.207:8010";
const token=localStorage.getItem("token")

export const GET=(url,params)=>{
	return axios.get(`${baseurl}${url}`,params,{
				headers:{
					authorization:"Bearer"+token
				}
			}).then(data=>data)
}

export const POST=(url,params)=>{
	return axios.post(`${baseurl}${url}`,params,{
				headers:{
					authorization:"Bearer"+token
				}
			}).then(data=>data)
}